package com.静态链式调用;

public class Init {

    public static Init a1(){
        System.out.println("1");
        return  null;
    }

    public static Init a2(){
        System.out.println("2");
        return  null;
    }

    public static Init a3(){
        System.out.println("3");
        return  null;
    }
    public static Init a4(){
        System.out.println("4");
        return  null;
    }
    public static Init a5(){
        System.out.println("5");
        return  null;
    }


    public static void main(String[] args) {
        Init.a1().a2().a3().a4().a5();
    }

}
